<template>
    <div>
        <el-container>
            <el-header>
                <common-header />
            </el-header>
            <el-container>
                <el-aside width="auto">
                    <common-aside />
                </el-aside>
                <el-main>
                    <common-tag></common-tag>
                    <router-view></router-view>
                </el-main>
            </el-container>
        </el-container>
    </div>
</template>

<script>
import CommonAside from '../components/CommonAside.vue'
import CommonHeader from '../components/CommonHeader.vue'
import CommonTag from '../components/CommonTag.vue'

export default {
    name: 'Main',
    data() {
        return {
            asideHeight: 0
        };
    },
    components: {
        CommonAside,
        CommonHeader,
        CommonTag
    }
}
</script>

<style scoped>
.el-header {
    padding: 0;
}

.el-main{
    background-color: #f0f2f5;
}

.el-footer {
    width: 100%;
    background: #f0f2f5;
    padding: 10px 0;
    color: rgba(0, 0, 0, .45);
    font-size: 12px;
    text-align: center;
}
</style>